Skip to content

Improve registry data extraction for older versions of composer packages#706

Merged
qtomlinson merged 4 commits intoclearlydefined:masterfrom
qtomlinson:qt/expand-reg-data
Feb 13, 2026
Merged

Improve registry data extraction for older versions of composer packages#706
qtomlinson merged 4 commits intoclearlydefined:masterfrom
qtomlinson:qt/expand-reg-data

Conversation

@qtomlinson
Copy link
Collaborator

@qtomlinson qtomlinson commented Feb 12, 2026

Composer v2 metadata (p2 API) is compressed—only the latest version has full metadata, while older versions are diffs. This PR attempts to combine the registry data from latest till target version so that the full manifest can be reconstructed.

This is a follow up for #662, to address comment #662 (review). This also addresses integration test failures in definition and notice comparison for composer/packagist/symfony/polyfill-mbstring/v1.28.0. See comment.

The test fixture, registryData.json, is re-formatted to improve readability.

@qtomlinson qtomlinson merged commit 688c113 into clearlydefined:master Feb 13, 2026
2 checks passed
@qtomlinson qtomlinson deleted the qt/expand-reg-data branch February 13, 2026 23:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants